/**
 * 饼图数据 - 充电桩饱和比例数据
 */
export const pieData = [
  {
    value: 100,
    name: "广州占比",
    percentage: "5%",
    color: "#34D160",
  },
  {
    value: 200,
    name: "深圳占比",
    percentage: "4%",
    color: "#027FF2",
  },
  {
    value: 300,
    name: "东莞占比",
    percentage: "8%",
    color: "#8A00E1",
  },
  {
    value: 400,
    name: "佛山占比",
    percentage: "10%",
    color: "#F19610",
  },
  {
    value: 500,
    name: "中山占比",
    percentage: "20%",
    color: "#6054FF",
  },
  {
    value: 600,
    name: "珠海占比",
    percentage: "40%",
    color: "#00C6FF",
  },
]

export const pieData2 = [
  {
    value: 100,
    name: "广州占比",
    percentage: "5%",
    color: "#34D160",
  },
  {
    value: 400,
    name: "佛山占比",
    percentage: "10%",
    color: "#F19610",
  },
  {
    value: 500,
    name: "中山占比",
    percentage: "20%",
    color: "#6054FF",
  },
  {
    value: 600,
    name: "珠海占比",
    percentage: "40%",
    color: "#00C6FF",
  },
]

/**
 * 折线图数据 - 流程监控数据
*/
export const lineData = [
  {
    name: "正常",
    data: [220, 182, 191, 234, 290, 330, 310, 201, 154, 190, 330, 410],
  },
  {
    name: "异常",
    data: [20, 12, 11, 24, 90, 330, 10, 1, 154, 90, 330, 10],
  }
]

// 充电数据统计
export const chargingStatisticsData = [
  {
      "name": "一月",
      "value": 500
  },
  {
      "name": "二月",
      "value": 2000
  },
  {
      "name": "三月",
      "value": 3600
  },
  {
      "name": "四月",
      "value": 1000
  },
  {
      "name": "五月",
      "value": 1000
  },
  {
      "name": "六月",
      "value": 2000
  },
  {
      "name": "七月",
      "value": 4000
  }
]

// 异常监控
export const exceptionMonitoringData = [
  {
      "id": 1,
      "name": "异常1",
      "value": 5,
      "dur": "10s",
      "begin": "0s"
  },
  {
      "id": 2,
      "name": "异常2",
      "value": 3,
      "dur": "10s",
      "begin": "-3s"
  },
  {
      "id": 3,
      "name": "异常3",
      "value": 5,
      "dur": "10s",
      "begin": "-5s"
  }
]

// 数据分析
export const dataAnalysisData = [
  {
    "id": 1,
    "title": "充电桩总数(个)",
    "totalNum": 8579.9,
    "unit": "万",
    "percentage": 79.5,
    "isUp": true
  },
  {
    "id": 2,
    "title": "年增长总数(个)",
    "totalNum": 2856.6,
    "unit": "万",
    "percentage": 88.9,
    "isUp": true
  },
  {
    "id": 3,
    "title": "月增长总数(个)",
    "totalNum": 1189.3,
    "unit": "万",
    "percentage": 62,
    "isUp": false
  }
]

// 数据分析
export const dataAnalysisData2 = [
  {
    "id": 1,
    "title": "充电桩总数(个)",
    "totalNum": 992333.2,
    "unit": "万",
    "percentage": 11.1,
    "isUp": true
  },
  {
    "id": 2,
    "title": "年增长总数(个)",
    "totalNum": 282356.6,
    "unit": "万",
    "percentage": 22.2,
    "isUp": true
  },
  {
    "id": 3,
    "title": "月增长总数(个)",
    "totalNum": 111189.3,
    "unit": "万",
    "percentage": 33.3,
    "isUp": false
  }
]

// top4数据
export const top4Data =  [
  {
      "id": 1,
      "name": "深圳",
      "percentage": "30%"
  },
  {
      "id": 2,
      "name": "广州",
      "percentage": "20%"
  },
  {
      "id": 3,
      "name": "东莞",
      "percentage": "10%"
  },
  {
      "id": 4,
      "name": "佛山",
      "percentage": "10%"
  },
  {
      "id": 5,
      "name": "其它",
      "percentage": "30%"
  }
]

const allData = {
  "chargingPile": {
      "name": "充电桩饱和比例",
      "data": [
          {
              "value": 100,
              "name": "广州占比",
              "percentage": "5%",
              "color": "#34D160"
          },
          {
              "value": 200,
              "name": "深圳占比",
              "percentage": "4%",
              "color": "#027FF2"
          },
          {
              "value": 300,
              "name": "东莞占比",
              "percentage": "8%",
              "color": "#8A00E1"
          },
          {
              "value": 400,
              "name": "佛山占比",
              "percentage": "10%",
              "color": "#F19610"
          },
          {
              "value": 500,
              "name": "中山占比",
              "percentage": "20%",
              "color": "#6054FF"
          },
          {
              "value": 600,
              "name": "珠海占比",
              "percentage": "40%",
              "color": "#00C6FF"
          }
      ]
  },
  "processMonitoring": {
      "name": "流程监控",
      "data": [
          {
              "name": "正常",
              "data": [
                  220,
                  182,
                  191,
                  234,
                  290,
                  330,
                  310,
                  201,
                  154,
                  190,
                  330,
                  410
              ]
          },
          {
              "name": "异常",
              "data": [
                  20,
                  12,
                  11,
                  24,
                  90,
                  330,
                  10,
                  1,
                  154,
                  90,
                  330,
                  10
              ]
          }
      ]
  },
  "dataAnalysis": {
      "name": "充电桩数据分析",
      "data": [
          {
              "id": 1,
              "title": "充电桩总数(个)",
              "totalNum": 8579.9,
              "unit": "万",
              "percentage": 79.5,
              "isUp": true
          },
          {
              "id": 2,
              "title": "年增长总数(个)",
              "totalNum": 2856.6,
              "unit": "万",
              "percentage": 88.9,
              "isUp": true
          },
          {
              "id": 3,
              "title": "月增长总数(个)",
              "totalNum": 1189.3,
              "unit": "万",
              "percentage": 62,
              "isUp": false
          }
      ]
  },
  "chargingTop4": {
      "name": "充电桩Top4占比",
      "totalPercentage": 70,
      "data": [
          {
              "id": 1,
              "name": "深圳",
              "percentage": "30%"
          },
          {
              "id": 2,
              "name": "广州",
              "percentage": "20%"
          },
          {
              "id": 3,
              "name": "东莞",
              "percentage": "10%"
          },
          {
              "id": 4,
              "name": "佛山",
              "percentage": "10%"
          },
          {
              "id": 5,
              "name": "其它",
              "percentage": "30%"
          }
      ]
  },
  "chargingStatistics": {
      "name": "充电数据统计",
      "data": [
          {
              "name": "一月",
              "value": 500
          },
          {
              "name": "二月",
              "value": 2000
          },
          {
              "name": "三月",
              "value": 3600
          },
          {
              "name": "四月",
              "value": 1000
          },
          {
              "name": "五月",
              "value": 1000
          },
          {
              "name": "六月",
              "value": 2000
          },
          {
              "name": "七月",
              "value": 4000
          }
      ]
  },
  "exceptionMonitoring": {
      "name": "异常监控",
      "data": [
          {
              "id": 1,
              "name": "异常1",
              "value": 5,
              "dur": "10s",
              "begin": "0s"
          },
          {
              "id": 2,
              "name": "异常2",
              "value": 3,
              "dur": "10s",
              "begin": "-3s"
          },
          {
              "id": 2,
              "name": "异常3",
              "value": 5,
              "dur": "10s",
              "begin": "-5s"
          }
      ]
  }
}